<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>生命周期</title>
    <style>
        [v-cloak] {
            display: none;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        em {
            font-style: normal;
        }

        a {
            text-decoration: none;
        }
    </style>
</head>

<body>
    <div id="container" v-cloak>

    </div>

    <script src="./js/dev/vue.js"></script>
    <script>
        const app = new Vue({
            el: '#container',
            data: {
            },
            methods: {

            },
            computed: {

            },
            beforeCreate() {
                console.log(`beforeCreate ......`);
            },
            created: function () {
                console.log(`created ......`);
            }
        })
    </script>
</body>

</html>